<?php include_once './application/views/sys_admin/common/header.php';  ?>
<div class=" definewidth m20">
		<form  action="" method="get" class="form-inline definewidth m20">
			起始时间：<input type="text" id="startdate" name="strtime" style="width: 100px;" value="<?php echo $where['strtime'];?>"  onfocus="WdatePicker({dateFmt:'yyyy-MM '})"  class="Wdate">
			截止时间：<input type="text" id="enddate" name="endtime" style="width: 100px;" value="<?php echo $where['endtime'];?>"  onfocus="WdatePicker({dateFmt:'yyyy-MM '})"  class="Wdate">
  			<button type="button" class="btn btn-primary"  onclick="this.form.submit();" >查询</button>
	  	</form>
		<table class="table table-bordered table-hover definewidth m10">
			 <thead>
			    <tr>
			      <th><strong>序号</strong></th>
					<th><strong>日期</strong></th>
					<th><strong>新增会员数</strong></th> 
					<th><strong>新增充值会员数</strong></th>
					<th><strong>新增VIP会员数 </strong></th>
					 <th><strong>理财会员数 </strong></th> 
					<th><strong>累计会员数 </strong></th>
					 <th><strong>累计VIP会员数 </strong></th> 
					 <th><strong>新增会员充值占比 </strong></th>
					 <!-- 暂规避 
					 <th><strong>会员活跃度 </strong></th>
					-->
			    </tr>
			   </thead>
			   <?php $statistics_id = 1;foreach($user_list as $info){ ?>
			  <tr>
			  <td> <?php echo $statistics_id;?></td>
				<td><?php echo  date("Y-m-d",$info['time']);?></td>
				<td><?php echo  $info['user_count'];?></td>
				<td><?php echo  $info['user_charge_count'];?></td>
				<td><?php echo  $info['vip_user_count'];?></td>
				<td><?php echo  $info['licai'];?></td>
				<td><?php echo  $info['total_user_acount'];?></td>
				<td><?php echo  $info['total_vipu_count'];?></td>
				<td><?php echo  (number_format($info['user_charge_count']/$info['user_count'],2)*100)."%";?></td>
				
				<!-- 暂规避 
				<td><?php echo  $info['total_vipu_count'];?></td>
				-->
				<!--  <td</td> -->
				
			  </tr>
			  <?php $statistics_id ++;}?>
			  	<tr>
			  	<td colspan="12"  class="invbd_page"><?php echo $this->pagination->create_links();?></td>
			  	</tr>
		</table>
</div>
